# cmake version
cmake_minimum_required(VERSION 3.10)
#set project_name 

project(${TOOLS_EXE})
# set source cpp
set(SOURCE_CPP
    main.cpp
  )


SET(CMAKE_INSTALL_RPATH "\${ORIGIN}/../lib") #指定运行时动态库的加载路径,ORIGIN指运行文件所在目录

add_executable(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/${SOURCE_CPP})
target_link_libraries(${PROJECT_NAME} PRIVATE cc_sdk)


install(TARGETS ${PROJECT_NAME}  RUNTIME DESTINATION bin)
